package door.smartlift.top;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer;
import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * @author Admin
 */
@SpringBootApplication
@MapperScan("door.smartlift.top.dao")
@ServletComponentScan
public class SmartLifeApplication implements EmbeddedServletContainerCustomizer {



	public static void main(String[] args) {
		SpringApplication.run(SmartLifeApplication.class, args);
	}

	@Override
	public void customize(ConfigurableEmbeddedServletContainer configurableEmbeddedServletContainer) {

		configurableEmbeddedServletContainer.setPort(8081);
	}
}
